package com.cskaoyan.day3._01_review;

import java.util.ArrayList;
import java.util.Collection;

/**
 * @author Common-zhou
 * @since 2023-03-01 09:42
 */
public class Demo1 {
    public static void main(String[] args) {
        Collection<String> collection = new ArrayList<>();

        collection.add("zs");
        collection.add("ls");

        String[] strings = collection.toArray(new String[0]);


        for (String s : collection) {
            //collection.remove("zs");
            System.out.println(s);
        }

    }
}
